package com.yunxi.freeze.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.freeze.pojo.AmountFreezeVO;
import com.yunxi.order.pojo.PartnerFreezeAmountReqVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class AmountFreezeDubboServiceMock implements AmountFreezeDubboService {
    @Override
    public AmountFreezeVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        return null;
    }

    @Override
    public void saveOrUpdate(AmountFreezeVO amountFreezeVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<AmountFreezeVO> findPageByVO(AmountFreezeVO amountFreezeVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<AmountFreezeVO> p = new PageInfo<AmountFreezeVO>();
        List list = new ArrayList();
        AmountFreezeVO v = new AmountFreezeVO();
        v.setPartnerCode("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public void removeByListVo(List<AmountFreezeVO> amountFreezeVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(AmountFreezeVO amountFreezeVO) {
        List list = new ArrayList();
        PartnerFreezeAmountReqVO v = new PartnerFreezeAmountReqVO();
        v.setPartnerCode("暂无数据");
        list.add(v);
        return list;
    }

    @Override
    public PageInfo listPartnerFreezeAmount(PartnerFreezeAmountReqVO reqVO, Integer pageNum, Integer pageSize) {
        PageInfo<PartnerFreezeAmountReqVO> p = new PageInfo<PartnerFreezeAmountReqVO>();
        List list = new ArrayList();
        PartnerFreezeAmountReqVO v = new PartnerFreezeAmountReqVO();
        v.setPartnerCode("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public PageInfo listPartnerFreezeAmountDetail(PartnerFreezeAmountReqVO reqVO, Integer pageNum, Integer pageSize) {
        PageInfo<PartnerFreezeAmountReqVO> p = new PageInfo<PartnerFreezeAmountReqVO>();
        List list = new ArrayList();
        PartnerFreezeAmountReqVO v = new PartnerFreezeAmountReqVO();
        v.setPartnerCode("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }
}
